package com.whx.managea.service;

import com.whx.managea.entity.Grade;
import com.whx.managea.entity.vo.GradeVo;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public interface GradeService {


    //根据id删除成绩
    void deleteGradeById(Integer id);

    public GradeVo getGrade(String stui,String courseName);

    int save(Grade grade);

    List<GradeVo>  listGrades(Integer page,Integer rows,String searchCol,String searchValue);

    //根据条件查询学生的总记录数
    Integer counts(String searchCol,String searchValue);

    Integer changeGrade(Grade grade);
}
